
import {VMIN_API} from '../../api/url'
import http from '../../api/http'
export default{
    namespaced:true,
    state:{
        vmin:[]
    },
    mutations:{
        setvmin(state,payload){
            state.vmin=payload
        }
    },
    actions:{
        async requestViduesMin(context){
            const {data:{data:{feeds}}} =await http.get(VMIN_API);
            context.commit('setvmin',feeds)
        }
    }
}